<template>
  <div>
    <div>
        <h4>预约与随访</h4>
        <el-row>
          <el-col>
            <span>预约下次复诊日期 </span>
            <el-input v-model="pgForm.appointment_and_follow_up_input1" placeholder=""></el-input>
          </el-col>
          <el-col :span="12">
            <span>随访问卷 </span>
            <el-select v-model="pgForm.appointment_and_follow_up_value1" placeholder="请选择">
              <el-option
                v-for="item in pgForm.optionsYuYue1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </el-col>
          <el-col :span="12">
            <span>问卷 </span>
            <el-select v-model="pgForm.appointment_and_follow_up_value2" placeholder="请选择">
              <el-option
                v-for="item in pgForm.optionsYuYue2"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </el-col>
        </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "appointment_and_follow_up",
  title: "预约与随访",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data(){
    return{
      pgForm: {
        optionsYuYue1: [{
          value: '是',
          label: '是'
        }, {
          value: '否',
          label: '否'
        }],
        optionsYuYue2: [{
          value: 'PFIQ-7',
          label: 'PFIQ-7'
        }, {
          value: 'PISQ-12',
          label: 'PISQ-12'
        }, {
          value: 'OABSS',
          label: 'OABSS'
        }, {
          value: 'PFDI-20',
          label: 'PFDI-20'
        }],

        appointment_and_follow_up_input1: '',
        appointment_and_follow_up_value1: '',
        appointment_and_follow_up_value2: ''

      }
    }
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
.el-input{
  width: 80%;
}

</style>
